* {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}

body {
    /* position: relative; */
    box-sizing: border-box;
    background-color: #fafafc;
    width: 100%;
    max-height: 832px;
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: #222;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    display: flex;
    width: 100%;
    height: 44px;
    min-width: 320px;
    max-width: 540px;
    /* linear-gradient为渐变函数 
    参数一为渐变的方向，to bottom表示从上到下。
    参数二至最后一个参数表示渐变的起止颜色*/
    background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
    z-index: 999;
}

.header .user {
    width: 44px;
    height: 44px;
    font-size: 12px;
    text-align: center;
    color: #fff;
}

.header .user span {
    /* content: ''; */
    display: block;
    width: 21px;
    height: 21px;
    background: url(../images/user.png) 0 -36px;
    background-size: 21px auto;
    margin: 2px auto;
}

.header .search {
    position: relative;
    height: 28px;
    flex: 1;
    margin: 7px 10px;
    border-radius: 16px;
    padding-left: 30px;
    color: #666;
    font-size: 13px;
    line-height: 26px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
    background-color: #fff;
}

.header .search::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 5px;
    width: 15px;
    height: 15px;
    /* background: url(./images/sprite.png) no-repeat -59px -279px; */
    background: url(../images/user.png) no-repeat 0 0;
    /* background-size: 104px auto; */
    background-size: 21px auto;
    margin: 5px;
}

.focus {
    position: relative;
    width: 100%;
    max-width: 540px;
    min-width: 320px;
    height: 180px;
    overflow: hidden;
}

.focus img {
    width: 100%;
    height: 180px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.viewbox {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 30px;
    max-height: 36px;
    background-color: transparent;
    border-bottom-left-radius: 180px;
    border-bottom-right-radius: 180px;
}

.nav-bar {
    position: relative;
    display: flex;
    height: 64px;
    border-radius: 8px;
    margin: -52px 8px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, .1);
}

.nav-bar .item {
    flex: 1;
}

.nav-bar .item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 7px;
    font-size: 12px;
}

.nav-bar .item a .nav-icon {
    width: 32px;
    height: 32px;
    background: url(../images/nav-icon.png) no-repeat -4px -4px;
    background-size: 40px auto;
}

.nav-bar .item a .nav-icon-1 {
    width: 32px;
    height: 32px;
    background: url(../images/nav-icon.png) no-repeat -4px -44px;
    background-size: 40px auto;
}

.nav-bar .item a .nav-icon-2 {
    width: 32px;
    height: 32px;
    background: url(../images/nav-icon.png) no-repeat -4px -84px;
    background-size: 40px auto;
}

.nav-bar .item a .nav-icon-3 {
    width: 32px;
    height: 32px;
    background: url(../images/nav-icon.png) no-repeat -4px -124px;
    background-size: 40px auto;
}

.nav-bar .item a .nav-icon-4 {
    width: 32px;
    height: 32px;
    background: url(../images/nav-icon.png) no-repeat -4px -164px;
    background-size: 40px auto;
}

nav {
    border-radius: 8px;
    margin: 60px 8px 3px;
    overflow: hidden;
}

nav .nav-commom {
    display: flex;
    height: 88px;
    font-size: 14px;
    text-shadow: 1px 1px rgba(0, 0, 0, .2);
    color: #fff;
}

nav .nav-commom:nth-child(2) {
    margin: 3px 0;
}

nav .nav-commom .item1 {
    flex: 1;
    text-align: center;
    line-height: 88px;
    background: url(../images/1.png) no-repeat 50px 56px;
    background-size: 73px auto;
    background-color: #fa6654;
}

.nav-commom span {
    display: block;
    width: 60px;
    height: 100%;
}

nav .nav-commom .item2 {
    display: flex;
    flex-direction: column;
    flex: 0.66;
    background: url(../images/2.png) no-repeat 0px 68px;
    background-size: 37px auto;
    background-color: #fa7d51;
}

nav .nav-commom .list {
    width: 100%;
    height: 44px;
    text-align: center;
    line-height: 44px;
    border-bottom: 1px solid #fff;
}

nav .nav-commom .item3 {
    flex: 1.3;
    background: url(../images/3.png) no-repeat -80px -10px;
    background-size: 242px auto;
    background-color: #ffcd50;
}

.item3 .list {
    color: #a05416;
}

nav .nav-commom .nav-items:nth-child(-n+2) {
    border-right: 1px solid #fff;
}

nav .nav-commom .nav-items-list {
    text-align: center;
    line-height: 88px;
}

.list1, .list2, .list3 {
    border-right: 1px solid #fff;
}

.trip1, .trip2, .trip3 {
    border-right: 1px solid #fff;
}

nav .nav-commom .list1 {
    flex: 1.02;
    background: url(../images/4.png) no-repeat 45px 50px;
    background-size: 80px auto;
    background-color: #4d96ed;
}

nav .nav-commom .list2 {
    flex: .67;
    background: url(../images/5.png) no-repeat 0px 60px;
    background-size: 37px auto;
    background-color: #4fa3ed;
}

nav .nav-commom .list3 {
    flex: .66;
    background-color: #50aded;
}

nav .nav-commom .list4 {
    flex: .66;
    background-color: #52b7ed;
}

nav .nav-commom .trip1 {
    flex: 1.02;
    background: url(../images/6.png) no-repeat 30px 39px;
    background-size: 94px auto;
    background-color: #3ec59b;
}

nav .nav-commom .trip2 {
    flex: .67;
    background: url(../images/7.png) no-repeat 0px 66px;
    background-size: 61px auto;
    background-color: #4cca86;
}

nav .nav-commom .trip3 {
    flex: .66;
    background-color: #5bd070;
}

nav .nav-commom .trip4 {
    flex: .66;
    background-color: #65d261;
}

.tab-bar {
    display: flex;
    flex-direction: column;
    margin: 5px 8px;
    height: 104px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ededed;
}

.tab-list {
    display: flex;
    flex: 1;
}

.list-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    text-align: center;
}

.list-item span {
    font-size: 12px;
}

.list-item [class^="icon"] {
    width: 28px;
    height: 28px;
    background-size: 28px auto;
}

.icon1 {
    background: url(../images/nav-bar.png) no-repeat 1px 0;
}

.icon2 {
    background: url(../images/nav-bar.png) no-repeat 0 -28px;
}

.icon3 {
    background: url(../images/nav-bar.png) no-repeat 0 -56px;
}

.icon4 {
    background: url(../images/nav-bar.png) no-repeat 1px -84px;
}

.icon5 {
    background: url(../images/nav-bar.png) no-repeat 1px -112px;
}

.icon6 {
    background: url(../images/nav-bar.png) no-repeat 1px -140px;
}

.icon7 {
    background: url(../images/nav-bar.png) no-repeat 1px -168px;
}

.icon8 {
    background: url(../images/nav-bar.png) no-repeat 1px -196px;
}

.icon9 {
    background: url(../images/nav-bar.png) no-repeat 1px -224px;
}

.icon10 {
    background: url(../images/nav-bar.png) no-repeat 1px -252px;
}

.hot {
    position: relative;
    margin: 0 8px;
    height: 44px;
}

.welfare {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 100px;
    height: 20px;
    background-color: #ff506b;
    text-align: center;
    border-radius: 10px;
    line-height: 19px;
}

.hot .welfare a {
    display: block;
    font-size: 12px;
    width: 75px;
    margin: 0 8px;
    color: #fff;
}

.hot a::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 5px;
    width: 7px;
    height: 7px;
    border: 2px solid #fff;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin-right: 5px;
}

.gg {
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 15px;
    display: block;
    background: url(../images/icon-gg@2x.png) no-repeat;
    background-size: 36px auto;
    border-radius: 4px;
}

.gg::before {
    content: '';
    display: block;
    position: absolute;
    left: -80px;
    top: 0;
    width: 79px;
    height: 15px;
    background: url(../images/actived_text.png) no-repeat 1px -20px;
    background-size: 79px auto;
}

.advert {
    display: flex;
    width: 100%;
    height: 80px;
    /* background-color: salmon; */
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ededed;
}

.advert .AD {
    flex: 1;
}

.advert .AD img {
    width: 100%;
    height: 100%;
}

.foot-wrapper{
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.tool {
    display: flex;
    width: 100%;
    height: 60px;
    border-bottom: 1px solid #ededed;
}

.tool a {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    font-size: 12px;
    margin-top: 11px;
}

.tool a .tool-item {
    width: 20px;
    height: 20px;
    margin-bottom: 5px;
}

.phone {
    background: url(../images/sprite.png) no-repeat -57px -151px;
    background-size: 104px auto;
}

.download {
    background: url(../images/sprite.png) no-repeat -57.5px -171px;
    background-size: 104px auto;
}

.main {
    background: url(../images/sprite.png) no-repeat -58px -308px;
    background-size: 104px auto;
}

.tool-ver {
    width: 100%;
    height: 52px;
    text-align: center;
}

.tool-ver-item {
    width: 100%;
    height: 24px;
    font-size: 12px;
    line-height: 24px;
    color: #666;
}

.map, .global, .computer {
    color: #666;
}

.tool-ver-item a:nth-child(-n+2) {
    border-right: 1.5px solid #666;
    padding-right: 7px;
}

.global {
    margin-left: 3px;
}

.global::before {
    content: '';
    width: 11px;
    height: 11px;
    display: inline-block;
    background: url(../images/un_icon_sites.png) no-repeat 0 -160px;
    background-size: 30px auto;
    vertical-align: middle;
}

.global::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1px solid #666;
    border-bottom: 1px solid #666;
    transform: rotate(45deg);
    vertical-align: middle;
    margin-left: 2px;
    margin-top: -4px;
    margin: -4px 20px 2px 0px;
}

.computer {
    padding-left: 4px;
}

.tool-ver p {
    width: 100%;
    height: 28px;
    color: #999;
    font-size: 12px;
    line-height: 28px;
}

.allLanguage {
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 540px;
    min-width: 320px;
    height: 0px;
    background-color: #FFF;
    overflow: auto;
    padding-left: 1px;
    transition: all .3s;
    z-index: 9999;
    color: #666;
}

.allLanguage p{
    box-sizing: border-box;
    height: 44px;
    width: 100%;
    line-height: 44px;
    text-align: center;
    padding: 0 20px;
    text-align: left;
    font-size: 13px;
    color: #666;
}

.allLanguage p .msg{
    font-size: 16px;
}

.allLanguage p img{
    width: 30px;
    height: 20px;
    float: left;
    padding-top: 12px;
    padding-right: 8px;
}

.allLanguage .language-p {
    width: 100%;
    height: 60px;
    position: sticky;
    top: 0;
    left: 0;
    background: #fff;
}

.allLanguage .language-p p{
    text-align: center;
}

.allLanguage .language-p .ball {
    width: 15px;
    height: 15px;
    margin: 10px 5px 8px 0px;
    display: inline-block;
    background: url(../images/un_icon_sites.png) no-repeat 0 -160px;
    background-size: 30px auto;
    vertical-align: middle;
}

.cover {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 100%;
    max-width: 540px;
    height: 832px;
    background-color: rgba(0, 0, 0, .5);
    z-index: 999;
    display: none;
}

/* 字体图标 */
@font-face {
    font-family: 'iconfont';
    src: url('../iconfont/iconfont.eot');
    src: url('../iconfont/iconfont.eot?#iefix') format('embedded-opentype'),
        url('../iconfont/iconfont.woff2') format('woff2'),
        url('../iconfont/iconfont.woff') format('woff'),
        url('../iconfont/iconfont.ttf') format('truetype'),
        url('../iconfont/iconfont.svg#iconfont') format('svg');
  }

.iconfont {
    font-family: "iconfont" !important;
    font-size: 25px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.iconfont{
    color: #666;
    position: absolute;
    top: -2px;
    right: 5%;
    cursor: pointer;
}